package cn.htsyb.synergy.orm.jpa.service.impl;

import cn.htsyb.synergy.orm.jpa.model.entity.AbsIdStatusEntity;
import cn.htsyb.synergy.orm.jpa.service.IJpaCommonService;
import jakarta.annotation.Resource;
import jakarta.persistence.EntityManager;
import jakarta.persistence.PersistenceContext;
import lombok.Getter;
import lombok.Setter;

/**
 * @author lakeside hubin_yuan.410@hotmail.com
 * @version V1.0.0
 * @date 2022/5/11
 * @since 1.0
 */
@Setter
@Getter
public abstract class AbsJpaCommonService<T extends AbsIdStatusEntity, ID> implements IJpaCommonService<T, ID> {
    @Resource
    @PersistenceContext
    protected EntityManager entityManager;
}
